Software Development
Fundamentals of C++
Final Exam: Getting Started in C++
Fundamentals of C++: Getting Started
Fundamentals of C++: Using the auto Keyword, Enums, and I/O Streams
Fundamentals of C++: Using Variables & Datatypes

Final Exam: Getting Started in C++

Course Number:
it_fepccp_02_enus
Lesson Objectives

Final Exam: Getting Started in C++

  • outline the history of C++
  • contrast C and C++
  • explore the C++ standard library
  • outline principles for writing C++ code
  • outline the compilation process of C++
  • print out data to screen
  • use data types in C++
  • use boolean types in C++
  • use logical and assignment operators in C++
  • perform operations with strings
  • view subsets from strings, compare strings, and find text in strings
  • look up characters in a string using indexes
  • concatenate and compare strings
  • use cin to accept input from a user
  • use the cin stream, getline(), and get() to accept input from a user
  • use the get () and ignore() functions to manage input
  • modify the flow of a program with if-blocks
  • create vectors and check whether they are empty
  • iterate over vectors and search for a specific element
  • create enums and switch statements
  • overload operators and use them in if statements
  • Chain relational checks using logical operators
  • create variables in if-block signatures
  • Iterate over arrays using for loops
  • Create string arrays and use break and continue
  • Create multidimensional arrays and iterate over them
  • Recall the offerings of the standard template library
  • Search for an element in a vector through templates
  • use the cend(), rend(), and crend() functions
  • use maps and range-based for loops
  • contrast NULL and nullptr
  • store strings in character arrays and pointers
  • use the nullptr keyword
  • create pointers on string objects
  • contrast malloc() and new
  • use the new and delete keywords on pointers
  • invoke constructors and destructors on arrays
  • contrast const pointers and pointers to consts
  • create constant pointers on constant and non-constant variables
  • create constant variables and pointers on those variables
  • recall how unique pointers, shared pointers, and strong pointers work
  • create unique pointers to automatically deallocate memory
  • copy, transfer, and reset pointers
  • create shared pointers using various syntaxes
  • recognize the limitations of weak pointers
  • recognize how weak pointers can become invalid.
  • examine values stored in shared pointers
  • contrast references with pointers
  • create references and modify the variables being referred to
  • use the const_cast operator
  • create functions and contrast declarations and definitions
  • recall that strings are passed by value
  • recall that pointers can be passed by value
  • pass in references to vectors
  • use the pass-by-reference construct
  • pass in references and perform implicit type conversion
  • pass in input arguments with default values
  • explore how to return pointers and references from functions
  • create multiple functions with the same name
  • split code into header files

Overview/Description

Final Exam: Getting Started in C++ will test your knowledge and application of the topics presented throughout the Getting Started in C++ track of the Skillsoft Aspire Programming in C++ Journey.



Target

Prerequisites: none

Fundamentals of C++: Getting Started

Course Number:
it_cpftcpdj_01_enus
Lesson Objectives

Fundamentals of C++: Getting Started

  • discover the key concepts covered in this course
  • outline the history of C++
  • outline the guiding principles of C++
  • outline principles for writing C++ code
  • outline the compilation process of C++
  • contrast C and C++
  • explore the C++ standard library
  • load the G++ compiler using the MSYS2 installer
  • run C++ on Windows
  • install C++ on Mac
  • configure a build
  • print out data to screen
  • summarize the key concepts covered in this course

Overview/Description
Since its inception about three and a half decades ago, the C++ language has constantly reinvented itself and kept pace with changing times. This constant reinvention has kept C++ relevant for many use cases today. Explore the history of C++ and the difference between classic C++ and modern C++. Discover the compilation process of C++ and the role of the pre-processor, the compiler, and the linker. Look at the variety of compilers available for C++ and the C++ standard library. Finally, learn how to install C++ and write, compile, and run simple C++ programs. You will work with the MSYS2 collection of utilities and familiarize yourself with the VSCode integrated development environment (IDE). By the end of this course, you will have a solid foundation of the basics of C++ and a good sense of why C++ language features evolved the way they did.

Target

Prerequisites: none

Fundamentals of C++: Using the auto Keyword, Enums, and I/O Streams

Course Number:
it_cpftcpdj_03_enus
Lesson Objectives

Fundamentals of C++: Using the auto Keyword, Enums, and I/O Streams

  • discover the key concepts covered in this course
  • instruct C++ to infer the type of a variable
  • create scoped and unscoped enums
  • use cin to accept input from a user
  • use the cin stream, getline(), and get() to accept input from a user
  • use the get () and ignore() functions to manage input
  • use utility functions to manipulate data
  • summarize the key concepts covered in this course

Overview/Description
C++ supports many different programming paradigms including object-oriented programming, functional programming, and template programming. As a result, the C++ type system is quite complex and it can get quite complicated to figure out the correct type for a variable Learn how to use the auto keyword to request that the compiler infer the type of a variable from its context. Discover how to use the typeid() function to get a type info object for every variable and to verify that the auto keyword has worked as intended. Next, explore enums and identify the differences between C-style and C++-style enums. Learn about input and output streams, in particular the cin and cout streams used in C++. Finally, discover how to use I/O manipulators to control the appearance of objects on these streams. After comleting this coures, you'll be able to utilize the auto keyword to infer the type of a variable and deploy IO manipulators to correctly format data on input and output streams.

Target

Prerequisites: none

Fundamentals of C++: Using Variables & Datatypes

Course Number:
it_cpftcpdj_02_enus
Lesson Objectives

Fundamentals of C++: Using Variables & Datatypes

  • discover the key concepts covered in this course
  • create C++ variables
  • use numeric variables in C++
  • use data types in C++
  • use boolean types in C++
  • use logical and assignment operators in C++
  • use C-style strings in C++
  • use C++-style strings
  • perform operations with strings
  • view subsets from strings, compare strings, and find text in strings
  • look up characters in a string using indexes
  • concatenate and compare strings
  • summarize the key concepts covered in this course

Overview/Description
Variables and datatypes are basic building blocks of any programming language. This is especially true for C++, which has a very complex type system. In this course, we will be reintroducing constructs from C and emphasize the differences between variables and datatypes in C++ relative to those in C. Start by considering the difference between the initialization and declaration of a variable. Explore arithmetic, relational, and logical operators and make use of the C++ boolean type. Finally, explore strings in C++ and utilize many of the powerful methods provided by the String class, which are available for use on all string objects. Upon completion, you'll be able to distinguish between variable declaration and initialization, initialize variables using functional, assignment, and braced syntax, and leverage the C++ boolean type and the std::string class.

Target

Prerequisites: none

Close Chat Live